home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / DU Folder / DataSave / Sources / Include / Pizza.h < prev    next >
Encoding:
Text File  |  1995-11-29  |  1.0 KB  |  36 lines  |  [TEXT/MPS ]

  1. //    Copyright © 1995 Apple Computer, Inc. All rights reserved.
  2. //    Release Version:    $ 1.0 d11 $
  3.  
  4. #ifndef PIZZA_H
  5. #define PIZZA_H
  6.  
  7. //==========================================================================
  8. // --- DU FW ---------------------
  9. #ifndef DUSELECTABLE_H
  10. #include "DUSelectable.h"    // DU_MSelectable
  11. #endif
  12.  
  13. //==========================================================================
  14. class FW_CWritableStream;
  15. class FW_CReadableStream;
  16. class FW_CRect;
  17. class CDataItem;
  18.  
  19. //==========================================================================
  20. class FW_CLASS_ATTR CPizza : public DU_MSelectable {
  21. public:
  22.     FW_DECLARE_CLASS
  23. public:
  24.                         CPizza(const FW_CRect& bounds, FW_CColor color);
  25.     virtual                ~CPizza();
  26.     virtual void         Flatten(FW_CWritableStream& stream);
  27.     static    void*        Read(FW_CReadableStream& stream);    
  28.     virtual void        Draw(FW_CGraphicContext& gc);
  29. protected:
  30.                         CPizza(FW_CReadableStream& stream);
  31. private:
  32.     FW_CColor            fColor;
  33. };
  34.  
  35. //==========================================================================
  36. #endif